package com.tanhua.domain.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 胡少东
 * @create 2021/8/6 18:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_bquestion")
public class SoulQuestion implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String question;
    private Integer questionnaireId;
    @TableField(exist = false)
    private List<Option> options;
}